package org.webscale.json;

import java.io.Serializable;
import java.util.Calendar;

import com.google.gson.Gson;

public class JsonStatusResponse implements Serializable{

	private String id;
	private String status;
	private Calendar timstamp;
	public JsonStatusResponse(){
		super();
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Calendar getTimstamp() {
		return timstamp;
	}

	public void setTimstamp(Calendar timstamp) {
		this.timstamp = timstamp;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String toString(){
		return toJson();
	}
	
	public String toJson(){
		Gson gson = new Gson();
		return gson.toJson(this);
	}
	
}
